home *** CD-ROM | disk | FTP | other *** search
/ Developer CD Series 1994 June: Reference Library / Dev.CD Jun 94.toast / Technical Documentation / Inside Macintosh / IM—Toolbox Essentials / IM—Toolbox Essentials.rsrc / IDX#_1000 < prev    next >
Encoding:
Text File  |  1994-04-27  |  45.8 KB  |  93 lines

  1.     µSymbolsABCDEFGHIJKLMNOPQRSTUVWXYZ
  2. data forks dialog boxes examples offiles data fork ofmanagingresource fork ofMacintosh Toolboxfeatures provided byintroduction tomemory, allocating/PPC (Program-to-Program Communications) Toolbox/Program-to-Program Communications (PPC) Toolbox    QuickDrawresource forks resource IDsdefinedResource Manager
  3. resource mapsresource types    resourcesdefinedSystem file, in the
  4. Scrap ManagertexthandlingTextEdit
  5. handling textuser-oriented design('FKEY' resource type[FKEY resource type]('itlk' resource type[itlk resource type]''KCHR' resource typeKCHR resource type]''KMAP' resource typeKMAP resource type]('KMAP' resource type[KMAP resource type]'SIZE' resource type"and null events[SIZE resource typeand null events]and null events]creatingSIZE resource type    creating]    creating]definedSIZE resource typedefined]defined] flags, definedSIZE resource typeflags,defined]flags,defined]#sample Rez input[SIZE resource typesample Rez input]sample Rez input]*scheduling option flags[SIZE resource typescheduling option flags]scheduling option flags]6setting flags for high-level events[SIZE resource type$setting flags for high-level events]$setting flags for high-level events]#setting flags of[SIZE resource typesetting flags of]setting flags of]AcceptHighLevelEvent functionacceptSuspendResumeEvents flagactivate eventsdefinedhandling3AEIMP (Apple Event Interprocess Messaging Protocol)AEProcessAppleEvent functionAESend function3Apple Event Interprocess Messaging Protocol (AEIMP) Apple eventsas high-level eventsdefinedhandlingsendingapplication heap applicationssharingswitching between arrow cursorauto-key eventsauto-key threshold ratebackground processesBeginUpdate procedureButton functioncanBackground flag
  6. cancel events
  7. Caps Lock keycaret, time between blinks ofcharacter codes    Clipboardconverting data to and from Command key"Command-Shift-number key sequencescontext of a process    switching Control keycooperative multitaskingcurrent processcursor    adjustingarrowcrossI-beamplussetting the appearance of
  8. wristwatchdBoxProc window typedesk accessorieshandling events in    events inDialogSelect functionDIBadMount functiondisk-inserted eventshandlingdoesActivateOnFGSwitch flagdouble click, time betweenEdition ManagerEndUpdate procedure
  9. event classes    event IDs event loops
  10. Event Manager). See also Operating System Event Managerand MultiFinder[Event Manager MultiFinder] MultiFinder]!and the PPC Toolbox[Event Manager PPC Toolbox] PPC Toolbox]%and the Process Manager[Event ManagerProcess Manager]Process Manager]#and the Scrap Manager[Event ManagerScrap Manager]Scrap Manager]application-defined routine fordata structures in initializing routines intesting for features event queue!. See also high-level event queue'. See also Operating System event queuescanning for a cancel event structure of
  11. event recordsand event loops[event records event loops] event loops]defined#for high-level events[event recordshigh-level events]high-level events]EventRecord data typeeventsactivateand modifier keysand modifier keyseventsmodifier keys]modifier keys]Apple. See Apple eventsauto-keycancelCommand-perioddefined
  12. disk-insertedgetting information abouthandling!high-level. See high-level eventsin desk accessories[eventsdesk accessories]desk accessories]in modeless dialog boxes[eventsmodeless dialog boxes]modeless dialog boxes]-interacting with the user from the backgroundkey-downkey-upkeyboard    low-level masking out
  13. mouse-down mouse-movedmouse-upnulloperating-system priority of
  14. processingreceived in the background!receiving from other applicationsresume
  15. sources ofsuspendswitching contextstypes ofupdate,for GetSpecificHighLevelEventfilter functionGetSpecificHighLevelEvent]FindWindow functionand activate eventsand mouse eventsFlushEvents procedureforeground processGetCaretTime functionGetDblTime functionGetEvQHdr functiongetFrontClicks flagGetKeys procedureGetMouse procedureGetNextEvent functionGetOSEvent function+GetPortNameFromProcessSerialNumber functionGetProcessInformation function+GetProcessSerialNumberFromPortName function"GetSpecificHighLevelEvent functionhigh-level event message recordhigh-level event queuehigh-level events. See also Apple events    accepting%and return receipts[high-level eventsreturn receipts]return receipts]defineddetermining the sender of
  16. event classes    event IDshandlingposting options    receiving replying tosearching for a specific eventsending
  17. supportingtesting for availabilityhot spot
  18. I-beam cursorIPCListPorts functionis32BitCompatible flagIsDialogEvent functionisHighLevelEventAware flagisStationeryAware flagkey-down eventsdefined    receiving
  19. key-up eventskeyboard eventshandlingkeyboard layout resourceskeyboard resources'KCHR'keyboard resourcesKCHR]KCHR]'KMAP'keyboard resourcesKMAP]KMAP]'KMAP'[keyboard resourcesKMAP]KMAP]Apple Keyboard II, ISOgetting the state ofKeyMap data type,KeyTrans function. See KeyTranslate functionKeyTranslate functionlocalAndRemoteHLEvents flaglocation nameslow-level eventshandling    receivingmajor switchesmasksevents. See event masksminor switches
  20. modifier keysmousedetermining location ofgetting information about mouse driver mouse regionmouse-down eventshandling%in desk accessories[mouse-down eventsdesk accessories]desk accessories]handlingmouse-up events MultiFinderFNotification Manager, and operating-system events[Notification Manageroperating-system events] null eventsand event masking[null eventsevent masking]event masking]definedhandlingonlyBackground flagOperating System Event Manager. See also Event ManagerOperating System event queuedefinedflushing events fromoperating-system eventsdefinedhandling
  21. Option keyOSEventAvail function
  22. partitionssizes ofPBMountVol function
  23. port names$converting to process serial numbersPostEvent functionPostHighLevelEvent functionposting optionsPPCBrowser functionfilling in a target ID recordfinding a specific portposting a high-level eventPPostEvent functionProcess Managerand Event Manager0process serial numbers, converting to port names    processes
  24. background
  25. context of
  26. foregroundswitching betweenQHdr data type for cursors'FKEY' [resource typesFKEY]FKEY]'itlk'[resource typesitlk]itlk]'KCHR' resource typesKCHR]KCHR]'KCHR'resource typesKCHR]KCHR]'KMAP'resource typesKMAP]KMAP]'SIZE'resource typesSIZE]SIZE]definedhandlingreturn receiptssample routines
  27. DoActivate DoDiskEventDoEventDoHighLevelEventDoIdle    DoKeyDown DoMouseDown    DoOSEventDoSuspendResumeEventDoUpdateMyAdjustCursor MyEventLoopMyHandleKeyDown
  28. MyPostTestMyPostWithPPCBrowser
  29. UserDidCancelscrapconverting global to privateconverting private to globalscrap coercionSelectWindow proceduresession reference numberSetEventMask procedure    Shift keysize resources sleep valuestack, size ofStandard File Packageand disk-inserted eventsstationery padsrecognition ofStillDown functionsuspend eventsdefinedhandling    switchingcontextmajorminorsystem event masksSystemClick procedureSystemEvent functionSystemTask proceduretarget ID recordssendingTargetID data typeand mouse eventsTickCount functionTicks global variable(Toolbox Event Manager. See Event Manager
  30. update eventsdefinedhandlinguseTextEditServices flagvirtual key codes9of Apple Extended Keyboard II, domestic[virtual key codes%Apple Extended Keyboard II, domestic]%Apple Extended Keyboard II, domestic]4of Apple Extended Keyboard II, ISO[virtual key codes Apple Extended Keyboard II, ISO] Apple Extended Keyboard II, ISO]+of Apple Keyboard II, ISO[virtual key codesApple Keyboard II, ISO]Apple Keyboard II, ISO]and multitasking
  31. introducedWindow Managerevents generated bywindows responding to activate events inupdatingwristwatch cursorzzactivateEvt constantzzactivMask constantzzautoKey constantzzautoKeyMask constantzzconvertClipboardFlag constantzzdiskEvt constantzzdiskMask constantzzeveryEvent constantzzhighLevelEventMask constant!zzHighLevelEventMsgClass constant%zzHighLevelEventMsgHeaderLength fieldzzkeyDown constantzzkeyDownMask constantzzkeyUp constantzzkeyUpMask constantzzkHighLevelEvent constantzzlocation fieldzzmDownMask constantzzmessage fieldzzmodifiers fieldzzmouseDown constantzzmouseMovedMessage constantzzmouseUp constantzzmsgLength fieldzzmsgWasFullyAccepted constantzzmsgWasNotAccepted constant"zzmsgWasPartiallyAccepted constantzzmUpMask constant zzname fieldzznAttnMsg constantzznReturnReceipt constantzznullEvent constantzzosEvt constantzzosMask constantzzpostingOptions fieldzzpriorityMask constantzzreceiverIDisPSN constant zzreceiverIDisSessionID constant zzreceiverIDisSignature constantzzreceiverIDisTargetID constantzzreceiverIDMask constantzzrecvrName fieldzzreserved1 fieldzzresumeFlag constantzzrtrnReceiptMsgID constantzzsessionID fieldzzsuspendResumeMessage constantzzsystemOptionsMask constantzztheMsgEvent fieldzzupdateEvt constantzzupdateMask constantzzuserRefCon fieldzzversion field zzwhat field zzwhen field
  32. zzwhere field'cicn' resource type+specifying a menu item’s[cicn resource typespecifying a menu item’s]specifying a menu item’s]('FOND' resource type[FOND resource type]('FONT' resource type[FONT resource type]('hmmu' resource type[hmmu resource type]'ICON' resource type+specifying a menu item’s[ICON resource typespecifying a menu item’s]specifying a menu item’s]('KCHR' resource type[KCHR resource type]('MBAR' resource type[MBAR resource type]('MBDF' resource type[MBDF resource type]('mctb' resource type[mctb resource type]('MDEF' resource type[MDEF resource type]''MENU' resource typeMENU resource type]'SICN' resource type,specifying a menu item’s[SICN resource type]''STR ' resource type[STR resource type]''STR#' resource typeSTR# resource type]('STR#' resource type[STR# resource type]About command (Apple menu)AppendMenu procedureAppendResMenu procedureapplication sending to itself$sending in response to menu commands
  33. Apple menu
  34. About commandadding items tocreatinghandlingApple Menu Items folder adding items from, to Apple menuApplication menuHide Others commandApplication menu\Can’t Undo command (Edit menu)CheckItem procedurecolor icon resourcescolorsin menus1Command-key equivalents. See keyboard equivalentsCountMItems functioncurrent menu list1desk accessory resource. See 'DRVR' resource typedesktop objectsaccessing menus fromdisabled constantDisableItem proceduredividerDrawMenuBar procedure    Edit menu    adjusting
  35. Edit menu\enabled constantEnableItem procedure    File menu
  36. File menu\    Font menuadding fonts to
  37. Font menu\fonts    bitmappedTrueTypeGetGray functionGetMCInfo functionGetMenu functionGetMenuItemText procedureGetNewMBar functionhelp balloon resources    Help menuadding items tohandling&Hide Others command (Application menu)hierarchical menusHiliteMenu procedureHMGetHelpMenuHandle functioniconsfor menu itemsicons menu items] menu items]
  38. in menusiconsmenus]menus]in menus[iconsmenus]menus]reducedInsertResMenu procedurehandling keyboard equivalentskeyboard equivalents
  39. commonly useddefiningreservedkeyboard layout resource
  40. Keyboard menuadded by Menu Manager marking character in a menu itemmenu barcreatingdefinedhandling mouse-down events in
  41. installingmenu bar definition functionmenu color information table
  42. menu commandsAbout (Apple menu)Hide Others (Application menu)keyboard equivalents forOther (Size menu)Show Balloons (Help menu)menu commands. See menu itemsmenu definition proceduredefineddrawing color menushandling scrolling in menuswriting menu handlemenu ID
  43. menu itemsadding to Apple menuadding to Help menuadding to menus
  44. appearancechanging
  45. font style oficon ofmark ofscript code oftext of
  46. font style oficon ofmark ofscript code oftext ofcharacteristics    disablingdividerenabling
  47. font style ofgroupinghandling user selection of(in a mutually exclusive group[menu itemsmutually exclusive group]mutually exclusive group]#in an accumulating group[menu itemsaccumulating group]accumulating group] item numberskeyboard equivalents formetacharacters inproviding help balloons forscript code of    script of!specifying the characteristics of submenu for4terms to use in help balloons and user documentationtext ofcreating hierarchicalpop-up    pull-downpop-up    pull-downEdit menu. See Edit menuFile menu. See File menuFont menu. See Font menugrouping items inhelp balloons forHelp menu. See Help menu hierarchicalitems. See menu itemskeyboard equivalents for Keyboard menu. See Keyboard menu
  48. localizingpop-up. See pop-up menus resource IDSize menu. See Size menuStyle menu. See Style menusubmenussystem-handled    titles oftypes of    and menus in the menu barmouse-down events    menu bar]    menu bar]OpenDeskAcc functionOther command (Size menu) pop-up menuscontrol definition function forcreatingdefinedtesting for availabilitytype-in fieldsPopUpMenuSelect functionpull-down menuscreatingdefinedfor icons in menu items'cicn' [resource typescicn]cicn]'DRVR' [resource typesDRVR]DRVR]'FOND' [resource typesFOND]FOND]'FONT' [resource typesFONT]FONT]'hmmu'[resource typeshmmu]hmmu]'ICON' [resource typesICON]ICON]'itlc'[resource typesitlc]itlc]'MBDF' [resource typesMBDF]MBDF]'SICN' [resource typesSICN]SICN]'STR '[resource typesSTR ]STR ]'STR#'resource typesSTR#]STR#]'STR#'[resource typesSTR#]STR#]
  49. DoMenuCommand
  50. MyAddHelpItemMyAdjustEditMenuForDocWindowMyAdjustFileMenuForDocWindow
  51. MyAdjustMenusMyChangeMenuBarAndSaveColorInfoMyHandleAppleCommandMyHandleHelpCommandMyHandleSizeCommandMyMakeAllMenus MyMakeMenus
  52. MyMakeSubMenuMyMDEFMyToggleHideShowscript code, for menu item textscript, changing a menu item’sSetItemIcon procedureSetItemMark procedureSetItemStyle procedureSetMCInfo procedureSetMenuBar procedureSetMenuItemText procedure    Size menuhandling
  53. Other command
  54. Size menu\
  55. Style menuand the Font menu
  56. example ofkeyboard equivalents forstyleschanging a menu item’sof a menu item[styles
  57. menu item]
  58. menu item]creatingdefinedsystem-handled menusTrackControl functionand pop-up menus('DRVR' resource type[DRVR resource type]specifying a menu item’s]''mctb' resource typemctb resource type]AtMenuBottom global variableCalcMenuSize procedureClearMenuBar procedureDeleteMCEntries procedureDeleteMenu procedureDeleteMenuItem procedureDisposeMCInfo procedureDisposeMenu procedureFlashMenuBar procedureGetItemCmd procedureGetItemIcon procedureGetItemMark procedureGetItemStyle procedureGetMBarHeight functionGetMCEntry functionGetMenuBar functionGetMenuHandle functionInitProcMenu procedureInsertMenu procedureInsertMenuItem procedureInvalMenuBar procedureMBarEnable global variableMCEntry data typeMCTable data typeMCTableHandle data typemenu bar entrymenu item entrymenu title entry&menu color information table resources-and the A5 register[menu definition procedure A5 register] A5 register]standardkeyboard equivalents formarking character of
  59. menu lists Menu Manager application-defined routines fordata structures in initializing routines inroutines names, mapping of menu records
  60. menu resourceMenuChoice functionMenuInfo data typeMenuKey functionmenuscreating disposing ofkeyboard equivalents formenu ID resource IDMenuSelect functionNewMenu function'DRVR' [resource typesDRVR]'FKEY' [resource typesFKEY]FKEY]'FOND' [resource typesFOND]'FONT' [resource typesFONT]'MBAR' resource typesMBAR]MBAR]'MBDF' [resource typesMBDF]MBDF]'mctb' resource typesmctb]mctb]'MDEF' [resource typesMDEF]MDEF]'MENU' resource typesMENU]MENU]
  61. menuresourcesmenu]SetItemCmd procedureSetMCEntries procedureSetMenuFlash procedureStyle data typeStyleItem data typeSystemEdit functionSystemMenu procedureTopMenuItem global variablezzcheckMark constantzzdiamondMark constantzzenableFlags field
  62. zzmctID fieldzzmctItem fieldzzmctRGB1 fieldzzmctRGB2 fieldzzmctRGB3 fieldzzmctRGB4 fieldzzmenuData fieldzzmenuHeight fieldzzmenuID fieldzzmenuProc fieldzzmenuWidth fieldzznoMark constantF“first click” in an inactive window[first click in an inactive window]('WDEF' resource type[WDEF resource type]''WIND' resource typeWIND resource type]('WIND' resource type[WIND resource type] and windowsactive windows alert boxeswindow types foraltDBoxProc window typeauxiliary window record    close box close regionCloseWindow procedureclosing windowsColor control panelcolor graphics portsColor QuickDraw checking forwhen zooming windowswhen zooming windowscoordinate systems increating color windows
  63. in windowscontent regiondefineddrawingupdating control listcontrols
  64. in windowscoordinate systemsdBoxProc window type dialog boxeswindow types forDialog Managerand Window Managerdocument windowsdefined positioningsaving position ofwindow types fordocumentProc window type    documentswindow types for drag regionDragWindow procedureDrawGrowIcon procedureEndUpdate procedureeventsactivate!first click in an inactive window
  65. in windowsmouse-down in windowsupdateFindWindow functionand mouse eventsframes, windowGetNewCWindow functionGetNewWindow functionGetWVariant functionglobal coordinatesgraphics ports gray regionGrayRgn global variablegrow images, of windowsGrowWindow function
  66. help balloonsfor window framesHideWindow procedureHiWord functioninactive windowshandling mouse-down events inInvalRgn procedure
  67. in windowslocal coordinatesLoWord functionmodal dialog boxeswindow types formodeless dialog boxeswindow types for
  68. in windowsmovable modal dialog boxeswindow types formovableDBoxProc window typenoGrowDocProc window type(Palette Manager, and system color tablesplainDBoxProc window typeport rectangle.See also Color QuickDrawcoordinate systems inrDocProc window typeresizing windows'WDEF''WIND'windowwindow definition function
  69. DoCloseCmd DoGrowWindowDoNewCmd
  70. DoOpenFileDoShowModelessFindDialogBox DoZoomWindowMyCloseDocument MyDrawWindowMyGetLocalUpdateRgnMyGetWindowTypeMyResizeWindowMySaveWindowPositionMySetWindowPosition scroll barsas a window element[scroll barswindow]window] size regionSizeWindow procedurestandard state of a windowstructure region(system color tables, and Palette Manager    title barTrackBox functionTrackGoAway function for windows
  71. update regiondefined maintaining    redrawinguser interface guidelines for windowsuser state of a windowValidRect procedurevariation codes for windowsvisible regionwindow color tablewindow definition functionsdefinedwindow definition IDsdefinedin window resources
  72. window frames window listand Control Managerand Dialog Managerand Dialog Managerialog Managerand Window Managerand Window Managerwindow recordswindow regionswindow resourceswindow state data record window typesWindowPeek data typeWindowPtr data typeWindowRecord data type
  73. activatingactiveclosingcolor incontent region controls increating deallocatingdefineddrawing content region    events in
  74. grow imagehidinginactivemanaging multiplemouse-down events inmoving!parts drawn by the Window Manager+parts drawn by the Window Manager<$endrange positioning
  75. regions inresizingshowingstandard statestructure regiontypes of
  76. user statewindow resources, definingwindow-manipulation conventionszoomingWStateData data typezoom box zoom regionzoomDocProc window typezooming windowszoomNoGrow window typeZoomWindow procedure$zzstaggerParentWindowScreen constant''wctb' resource typewctb resource type]('wctb' resource type[wctb resource type]AuxWinRec data typeBringToFront procedureCalcVis procedureCalcVisBehind procedure!CalcVisBehind procedure<$endrangeCheckUpdate functionClipAbove procedure routines forand color window recordsand the Window Manager portwhen creating a windowwhen creating a windowColorSpec data typeCWindowPeek data typeCWindowPtr data typeCWindowRecord data typeDeskHook global variableDeskPattern global variabledesktop patternDisposeWindow procedure!DisposeWindow procedure<$endrangeDragGrayRgn functionDragHook global variableDragWindow procedureDrawGrowIcon procedureDrawNew procedureDrawNew procedure<$endrangeEraseRect procedureFrontWindow functionFrontWindow function<$endrangeGetAuxWin functionGetCWMgrPort procedureGetGrayRgn functionGetNewCWindow functionGetNewWindow functionGetWindowPic functionGetWMgrPort procedureGetWRefCon functionGetWTitle procedureGetWVariant functionGrayRgn global variablegrow images, of windowsGrowWindow functionHideWindow procedureHiliteWindow procedureInitWindows procedureInvalRect procedureMoveWindow procedureNewCWindow functionNewWindow functionOldContent global variableOldStructure global variablePaintBehind procedurePaintOne procedurePaintOne procedure<$endrangePaintWhite global variable pCDeskPat parameter-RAM bit flagPinRect functionof Window Manager port refCon field'wctb'window color tableSaveOld procedureSaveUpdate global variableSaveVisRgn global variable SelectWindow procedure<$endrangeSendBehind procedureSetDeskCPat procedureSetWinColor procedureSetWinColor procedure<$endrangeSetWindowPic procedureSetWRefCon procedureSetWTitle procedureShowHide procedureShowWindow procedureShowWindow procedure<$endrangeroutines for handlingValidRgn procedureWinCTab data typeWinCTab data type<$endrangewritingand window definition functionscreating windows, used inapplication-defined routine fordata structures inglobal variablesport resources in routines in initializinglow-level routines initializinglow-level routineslow-level routinesWindowList global variable
  77. displayingmaintaining  update region of manipulatingcharacteristicscoloron the desktopcharacteristicscoloron the desktopcoloron the desktopon the desktopmovingnamingretrieving informationsizing
  78. user statezooming"zzalertPositionMainScreen constant$zzalertPositionParentWindow constant*zzalertPositionParentWindowScreen constantzzaltDBoxProc constantzzawCTable fieldzzawFlags fieldzzawNext fieldzzawOwner fieldzzawRefCon fieldzzawReserved fieldzzcenterMainScreen constantzzcenterParentWindow constant#zzcenterParentWindowScreen constantzzCenterParetn constantzzcontRgn fieldzzcontrolList fieldzzctSize fieldzzctTable fieldzzdataHandle fieldzzdBoxProc constantzzdialogCItem fieldzzdialogKind constantzzdocumentProc constantzzgoAwayFlag fieldzzhAxisOnly constantzzhilited fieldzzinContent constantzzinDrag constantzzinGoAway constantzzinGrow constantzzinMenuBar constantzzinZoomIn constantzzinZoomOut constantzzmovableDBoxProc constantzznextWindow fieldzznoAutoCenter constantzznoGrowDocProc constantzznoGrtowDocProc constantzzplainDBox constant zzport fieldzzrDocProc constantzzrefCon field zzrgb fieldzzspareFlag fieldzzstaggerMainScreen constantzzstaggerParentWindow constantzzstdState fieldzzstrucRgn fieldzztitleHandle fieldzztitleWidth fieldzzupdateRgn fieldzzuserKind constantzzuserState field
  79. zzvalue fieldzzvAxisOnly constantzzvisible fieldzzwCalcRgns constantzzwContentColor constantzzwCReserved fieldzzwCSeed fieldzzwDialogDark constantzzwDialogLight constantzzwDispose constantzzwDraw constantzzwDrawGIcon constantzzwFrameColor constantzzwGrow constantzzwHiliteColor constantzzwHiliteColorDark constantzzwHiliteColorLight constantzzwHit constantzzwindowDefProc fieldzzwindowKind fieldzzwindowPic fieldzzwNew constantzzwTextColor constantzzwTingeDark constantzzwTingeLight constantzzwTitleBarColor constantzzwTitleBarDark constantzzwTitleBarLight constantzzzoomDocProc constantzzzoomNoGrow constant('CDEF' resource type[CDEF resource type]'CNTL' resource typeexample ofCNTL resource type example of] example of]example of[CNTL resource type
  80. example of example of]
  81. example of example of] example of]for pop-up menusactive controlsbuttonscreating, in windowsdefined    events inCalcMenuSize procedure
  82. checkboxesdefinedcolors in controlscontrol definition functionsdefinedfor pop-up menusstandardcontrol definition IDsdefined
  83. specifyingControl Managerand Dialog Managerand Event Managerand List Managerand Resource Managerand Window Managerdata structures inlocalization guidelinesuser interface guidelinescontrol resources
  84. example ofcontrols
  85. activatingactive    colors incontrol definition IDs forcustom. See custom controlsdefineddraggingdrawinghighlight statesinactive    invisiblemovingpart codes forrectangles for.See also display rectangles.See also display rectanglesreference values for
  86. specifying
  87. specifyingresizing$resources for. See control resources settings ofchanging determiningspecifying initialchanging determiningspecifying initial determiningspecifying initialspecifying initialstandardtext in    titles of
  88. specifying
  89. specifyingtypes ofupdatingvisibleeventsin buttons in windowseventsbuttons windows]buttons windows] in pop-up menus in windowsevents
  90. pop-up menus]
  91. pop-up menus]in scroll barsevents scroll bars] scroll bars]in scroll boxesevents
  92. scroll boxes]
  93. scroll boxes]GetControlMaximum functionGetControlValue functionGetNewControl functionGlobalToLocal proceduregray areas, in scroll barsdefinedHideControl procedurehuman interface guidelines. See user interface guidelinesinactive controlsindicators, in controlsdefineddragging!List Manager, and Control Managerlocalization guidelinesfor Control Managerpop-uppop-upin controlsmouse-up events    controls]MoveControl procedure
  94. part codesaction procedure foractiveevents in, in windowsinactivevariation codes for
  95. radio buttonscreating, in windowsdefinedrectangles, for controlsreference valuesfor pop-up menusspecifying, for controlsand Control Manager'CDEF''CNTL'controlcontrol definition functionDoContentClickDoDrumRollCheckBoxDoGraphicsScrollDoNew DoPlayButton DoPopUpMenu
  96. MyAdjustHVMyAdjustScrollBarsMyAdjustScrollSizesMyAdjustScrollValuesMyCreatePlaySoundsWindowMyDrawGraphicsWindowMyHorzntlActionProcMyMoveScrollBoxMyVerticalActionProc
  97. scroll arrowsdefinedscroll arrows\. See also gray areas\
  98. activatingactiveand List Manager changing settings and display ofcreating, in windowsdefineddocument scrolling with    events ininactivemoving and resizingupdating scroll boxesaction procedure fordefineddragging    events inmovingScrollRect procedureSetControlMaximum procedureSetControlValue procedureSetOrigin procedureShowControl procedureSizeControl procedureslider controls$standard control definition functionTEPinScroll procedureTEUpdate procedure)in buttons, checkboxes, and radio buttonstitlesspecifying for controlsfor Control Manager for controlsfor controls, defined
  99. window originchangingdefined    scrollingupdatingzzinvisible constantzzvisible constant''cctb' resource typecctb resource type]''CDEF' resource typeCDEF resource type]action procedureschangingcreating
  100. specifyingAuxCtlRec data typeauxiliary control recordscontrol color table recordscontrol color table resourcescontrol definition functionscustomcontrol definition IDsfor custom controls
  101. specifyingControl Manager application-defined routines fordata structures inlocalization guidelines
  102. resources for routines incontrol recordsControlRecord data typecontrolsaction procedures for    colors incontrol definition IDs fordraggingdrawing    events inhighlight states
  103. in windows    invisiblemovingrectangles forreference values forchanging determining
  104. specifyingchanging determining
  105. specifying determining
  106. specifyingremovingresizing settings ofchanging determiningspecifying initialspecifying initial$startrange>changing determiningspecifying initialspecifying initial$startrange> determiningspecifying initialspecifying initialspecifying initial$startrange>standard    titles ofchanging determining
  107. specifyingchanging determining
  108. specifying determining
  109. specifyingvisibleHiliteControl procedureKillControls procedureMyAction procedureMyControl functionMyIndicatorAction procedureNewControl  functionNewControl functionpopupPrivateData data type. See also display rectangleschanging, for controlsdetermining, for controls'cctb'control color tableRGBColor data typeSetControlAction procedureSetControlColor procedureSetControlMinimum procedureSetControlReference procedureSetControlTitle procedureTestControl functionchanging, for controlsdetermining, for controlsUpdateControls proceduredetermining, for controlszzacCTable fieldzzacFlags fieldzzacNext fieldzzacOwner fieldzzacRefCon fieldzzacReserved fieldzzautoTrack constant zzaxis field zzblue fieldzzcalcCntlRgn constantzzcalcCRgns constantzzcalcThumbRgn constantzzcBodyColor constantzzccRider fieldzzccSeed fieldzzcFrameColor constantzzcheckBoxProc constantzzcontrlAction fieldzzcontrlData fieldzzcontrlDefProc fieldzzcontrlHilite fieldzzcontrlMax fieldzzcontrlMin fieldzzcontrlOwner fieldzzcontrlRect fieldzzcontrlRfCon fieldzzcontrlTitle fieldzzcontrlValue fieldzzcontrlVis fieldzzcTextColor constantzzcThumbColor constantzzdispCntl constantzzdragCntl constantzzdrawCntl constant
  110. zzgreen fieldzzinButton constantzzinCheckBox constantzzinDownButton constantzzinitCntl constantzzinPageDown constantzzinPageUp constantzzinThumb constantzzinUpButton constantzzlimitRect fieldzzmHandle field zzmID fieldzzmPrivate fieldzznextControl fieldzznoConstraint constantzzpartIdentifier fieldzzpartRGB fieldzzpopupFixedWidth constantzzpopupMenuProc constantzzpopupTitleBold constantzzpopupTitleCenterJust constantzzpopupTitleCondense constantzzpopupTitleExtend constantzzpopupTitleItalic constantzzpopupTitleLeftJust constantzzpopupTitleNoStyle constantzzpopupTitleOutline constantzzpopupTitleRightJust constantzzpopupTitleShadow constantzzpopupTitleUnderline constantzzpopupUseAddResMenu constantzzpopupUseWFont constantzzposCntl constantzzpushButProc constantzzpushButProcUseWFont constantzzradioButProc constant zzred fieldzzscrollBarProc constantzzslopRect fieldzztestCntl constantzzthumbCntl constantzzuseWFont constantactive controlscreatingdefined#dialog boxes, as distinguished from
  111. displaying
  112. stages fortypes ofalert resourcesdefined
  113. example ofRez input format for alert soundsand the system alert soundcreatingdefineddefining
  114. stages foralertscreatingdefineddefining alert sounds for
  115. stages fortypes ofusing the system alert soundAppendDITL procedureapplication-defined itemscreating#specifying in alert or dialog boxesbuttonsdefault#specifying in alert or dialog boxes
  116. titles forcaution alertsdefined
  117. checkboxes#specifying in alert or dialog boxesactivein alert and dialog boxesinactive pop-up menuscustom alert boxesdefineddefault buttons"alert boxes, as distinguished fromdefinedtypes ofDialog Managerand Window Managerlocalization guidelinesKtesting for availability of AppendDITL, ShortenDITL, and CountDITL routinesuser interface guidelinesdialog resourcesdefined
  118. example ofRez input format fordisabled itemsDITLMethod data typeeditable text itemsgetting text fromspecifying in dialog boxes
  119. enabled itemsin pop-up menusevents
  120. pop-up menus]
  121. pop-up menus]GetDialogItem procedureGetDialogItemText procedure/help items, specifying in alert or dialog boxes#specifying in alert or dialog boxesitem list resourcesdefined
  122. example ofRez input format forspecifying for a dialog boxspecifying for an alert box item numbersitems in alert and dialog boxesaddingcreatingdefinedenabled and disableditem numbers forkeyboard navigation manipulatingpicturestypes offor Dialog Managerdefineddefined
  123. titles fordefined
  124. titles for note alertsdefinedParamText procedure"pictures, in alert or dialog boxesin dialog boxesalertdialog"item list. See item list resourcesDisplayMyDialogDoSpellBoxWithSpanish MyAlertSoundMyDrawDefaultButtonOutlineMyHandleModelessDialogsstatic text itemssetting text insubstituting text inuser interface guidelines for stop alertsdefinedsystem alert sounds2editable, in dialog boxes. See editable text items+for modeless and movable modal dialog boxes)of buttons, checkboxes, and radio buttonsfor Dialog Managerfor static text itemsfor a dialog boxzzappendDITLBottom constantzzappendDITLRight constantzzcancel constantzzdisabled constantzzenabled constantzzgoAway constantzznoGoAway constant
  125. zzok constantzzoverlayDITL constant/deactivating windows for alert and dialog boxesin alert boxes[activate events alert boxes] alert boxes]in dialog boxes[activate events
  126. dialog boxes]
  127. dialog boxes]event filter function for    events inalerts
  128. displaying    events in
  129. Apple menuaccessing from dialog boxesapplication-defined itemscreatingbuttonsdefault    events in
  130. checkboxes    events inControl Managerand Dialog Managercontrols    events ininactivedefault buttons dialog boxes
  131. displayingevent filter function for    events indialog color table resourcesDialog Managerand Control Managerand Menu Manager and TextEditlocalization guidelinesuser interface guidelinesDialogSelect functiondisk-inserted eventsin alert and dialog boxes    Edit menu%accessing from alert and dialog boxeseditable text items    events inevent filter functions.filter function for, in alert and dialog boxesin alert boxesevents alert boxes] alert boxes]in controlsevents    controls]    controls]in dialog boxesevents
  132. dialog boxes]
  133. dialog boxes]in editable text itemseventseditable text items]editable text items]in modal dialog boxeseventsmodal dialog boxes]modal dialog boxes]in modeless dialog boxeseventsmodeless dialog boxes]#in movable modal dialog boxeseventsmovable]movable]in alert boxeskeyboard events alert boxes] alert boxes]in dialog boxeskeyboard events
  134. dialog boxes]
  135. dialog boxes]for Dialog Managerand Dialog Manager$disabling for alert and dialog boxespop-up. See pop-up menus
  136. displayingevent filter function for    events inModalDialog procedure
  137. displaying    events inin alert boxesmouse-down events alert boxes] alert boxes] in dialog boxesmouse-down events
  138. dialog boxes]
  139. dialog boxes] alert boxes]in dialog boxesmouse-up events
  140. dialog boxes]
  141. dialog boxes]
  142. displaying    events inPaste command (Edit menu)and dialog boxes    events indialog color tableDoActivateGlobalChangesDialogDoGlobalChangesDialogMyAdjustEditMenuForModalDialogsMyAdjustMenusForDialogsMyAlert
  143. MyEventFilterMyHandleKeyDownInModelessMySpellCheckDialogShowMyAboutBoxSetPort procedureand Dialog Managerin alert boxesin alert boxes[update events alert boxes] alert boxes]in dialog boxesupdate events
  144. dialog boxes]
  145. dialog boxes]in dialog boxes[update events
  146. dialog boxes]alert boxes and dialog boxesdeactivating behinddeactivating behindzzsmfShowIcon flagdefault colors of, changingevent filter function forAlert functionRez output format for
  147. specifying'creating with the CautionAlert functionCautionAlert functionCloseDialog procedurein alert boxes and dialog boxescontrol color tables creating with the Alert functioncreatingdefault colors of, changing disposing of application-defined routines fordata structures in initializing resources in routines indialog recordsRez output format forDialogCopy procedureDialogCut procedureDialogDelete procedureDialogPaste procedureDialogPeek data typeDialogPtr data typeDialogRecord data type3DisposDialog procedure. See DisposeDialog procedureDisposeDialog procedureDrawDialog procedurehighlighting default text insetting text inErrorSound procedurein alert boxes[events alert boxes] alert boxes]
  148. dialog boxes]#in movable modal dialog boxeseventsmovable]GetAlertStage function1GetAlrtStage function. See GetAlertStage functionGetNewDialog functionHideDialogItem procedureInitDialogs procedureRez output format foradding$startrange>copying editable text fromcutting editable text fromdefault colors of, changingdeleting editable text fromdrawing application-definedfinding item numbers ofgetting handles togetting text strings fromhidinghighlighting default text inpasting editable text intoredisplaying after hidingremovingremoving$endrange>setting or changingsetting text strings insubstituting text increatingcreatingcreating    events inMyAlertSound procedureMyItem procedure0NewCDialog function. See NewColorDialog functionNewColorDialog functionNewDialog function$creating with the NoteAlert functionNoteAlert function#specifying in alert or dialog boxesResetAlertStage procedure7ResetAlrtStage procedure. See ResetAlertStage procedurealert color tableitem color tableSelectDialogItemText procedure0SetDAFont procedure. See SetDialogFont procedureSetDialogFont procedureSetDialogItem procedureSetDialogItemText procedureShortenDITL procedureShowDialogItem proceduregetting text from#specifying in alert or dialog boxessubstituting text strings in$creating with the StopAlert functionStopAlert functiontext style tableUpdateDialog procedure0UpdtDialog procedure. See UpdateDialog procedurezzaDefItem fieldzzbtnCtrl constantzzButton constantzzcautionIcon constantzzCheckBox constantzzchkCtrl constantzzControl constantzzctrlItem constantzzeditField fieldzzeditOpen fieldzzeditText constantzzgestaltDITLExtAttr selector zzgestaltDITLExtPresent constantzzhelpItem constantzzHMScanAppendhdlg identifierzzHMScanhdlg identifierzzHMScanhrct identifierzzIcon constantzziconItem constantzzitemDisable constant
  149. zzitems fieldzznoteIcon constantzzpicItem constantzzPicture constantzzradCtrl constantzzRadioButton constantzzresCtrl constantzzStaticText constantzzstatText constantzzstopIcon constant
  150. zztextH fieldzzuserItem constantzzwindow field'****' file type[ '????' file type[???? file type]('alis' resource type[alis resource type]$'amnu' folder type[amnu folder type]'appe' file type[appe file typeExtensions folder] 'APPL' file type[APPL file type]''BNDL' resource typeBNDL resource type]''cicn' resource typecicn resource type]$'ctrl' folder type[ctrl folder type]$'desk' folder type[desk folder type] 'disk' file type[disk file type]$'empt' folder type[empt folder type]$'extn' folder type[extn folder type]''fld#' resource type[fld resource type] 'fold' file type[fold file type]$'font' folder type[font folder type]''FREF' resource typeFREF resource type]'icl4' resource type'Rez output format foricl4 resource typeRez output format for]Rez output format for]creating[icl8 resource type    creating]'ICN#' resource typecreatingICN# resource type    creating]    creating]example ofICN resource type example of] example of]creatingics resource type    creating]creating[ics resource type    creating]    creating]Extensions folder]$'macs' folder type[macs folder type]$'pref' folder type[pref folder type]$'prnt' folder type[prnt folder type] 'scri' file type[scri file type]('SIZE' resource type[SIZE resource type]&'STR ' resource typeSTR resource type]$'strt' folder type[strt folder type]$'temp' folder type[temp folder type] 'TEXT' file type[TEXT file type]$'trsh' folder type[trsh folder type]''vers' resource typevers resource type]16-by-16 pixel icons (small)[32-by-32 pixel icons (large)[4-bit color icons'4-bit color icons[four-bit color icons]8-bit color icons(8-bit color icons[eight-bit color icons] alias files
  151. alias records alias typesaliasesdefined    resolving Apple eventsand the FinderOpen Documents eventApple Menu Items folderdefinedfindingapplication icons. See also icon familiescreatingdefault,application-missing message string resources*application-unavailable alert box messages applicationscreating icons fordefault icon for'in Apple Menu Items folder[applicationsApple Menu Items folder]Apple Menu Items folder]launching from the Findersignatures for.background applications, and Extensions folder)Balloon Help online assistance, for icons
  152. bundle bitbundle resources
  153. catalog filesdefinedFinder information incolor icon resources color iconscolorsLabel menu commands forcontrol panelsinstalling and removingControl Panels folderdefinedfindingcreators    assigningdefinedcustomized iconsdesk accessories and System 7desktopdesktop database Desktop fileDesktop FolderdefinedfindingDesktop ManagerDInfo data type#directories, finding system-relateddirectory information recorddisks, opening    documentscreating icons for creators ofdefault icon for
  154. file types ofopening from the Finder*prohibiting users from opening from FinderDXInfo data typeeditionscreating icons fordefined%extended directory information record extended file information recordExtensions folderdefinedfindingfile information record
  155. Close command Quit commandfile reference resources
  156. file types'****'[file types
  157. asterisks]
  158. asterisks]'????'[file typesquestion marks]question marks]'appe'[file typesappe]appe]'APPL'[file typesAPPL]APPL]'DFIL'[file typesDFIL]DFIL]'disk'[file typesdisk]disk]'FFIL'[file typesFFIL]FFIL]'fold'[file typesfold]fold]'scri'[file typesscri]scri]    assigning$defining in file reference resourcesfor alias filesfile types alias files] alias files]for movable resourcesfile typesmovable resources]movable resources]for stationery pads[file typesstationery pads]stationery pads]opening documents of particularfrom applicationsfrom the Finderfrom applicationsfrom the Finderfrom the Finder Finder flags'Finder information, in the catalog fileFindFolder functionFInfo data typefolder resources folder typesfoldersfinding system-relatedfont resourcesicon forinstalling and removing
  159. suitcases for Fonts folderFSpGetFInfo functionFSpSetFInfo functionFXInfo data typehasBundle flaghasCustomIcon flag
  160. help balloonsfor iconshelp balloonsicons]icons]
  161. icon familiesicon list resourcescreating
  162. example of
  163. icon masks%icon resources ('ICON' resource type).See also icon families4-bit color[iconsfour-bit color]four-bit color]8-bit color[iconseight-bit color]eight-bit color]black and whitecolorcreating customizingdefaults used by Finderdefinedfor applicationsicons
  164. applications]
  165. applications]for documentsicons
  166. documents]
  167. documents]for editions[icons    editions]    editions]for font resourcesiconsfont resources]font resources]"for keyboard layout resourcesiconskeyboard layout resources]keyboard layout resources]for query documents[iconsquery documents]query documents]+for script system resource collectionsicons#script system resource collections]#script system resource collections]for sound resourcesiconssound resources]sound resources]for stationery pads[iconsstationery pads]stationery pads] for TrueType font resourcesiconsTrueType font resources]TrueType font resources]largesmallsystemicon forLabel menu commands large 4-bit color icon resources8Rez output format forlarge four-bit color icon resourcesRez output format for]Rez output format for]creatinglarge icons (32-by-32 pixel)'launching applications, from the Finderlistings. See sample routines    local IDsfor mapping resourceslocal IDsmapping resources]mapping resources]0in bundle resources and file reference resourcesicon/for changing colors in the Finder[menu commandschanging colors in the Finder]changing colors in the Finder]None (Color menu)Paste (Edit menu))missing-application name string resourcesmovable resources&name string resources for applicationsnameLocked flag+networks, using shared Trash directories onOpen Documents eventsopening$applications, from the Finderopening applicationsFinder]Finder] applicationsFinder]Finder]disks    documentsfolderspreferences filesPreferences folderdefinedfindingstoring files inPrint Documents eventsPrintMonitor Documents folderdefinedfindingand the Finderquery documentscreating icons fordefault icon fordefined"region codes, in version resources&Rescued Items from volume name foldersResolveAliasFile functionand the Finder'alis'[resource typesalis]alis]'BNDL'resource typesBNDL]BNDL]'cicn'resource typescicn]'fld#'[resource typesfld]fld]'FREF'resource typesFREF]FREF]'icl4'resource typesicl4]icl4]'icl8'resource typesicl8]icl8]'ICN#'resource typesICN ]ICN ]'ICN#'[resource typesICN]ICN]'ICON'resource typesICON]'ics#'resource typesICN ]ICN ]'ics#'[resource typesics]ics]'ics4'resource typesics4]ics4]'ics8'resource typesics8]ics8]'SIZE'[resource typesSIZE]SIZE]'STR 'resource typesSTR]STR]'vers'resource typesvers]vers]small icon listsoundused by the Finderversion sample code. See sample routinessample routinesDoCopyResource DoSaveAsCmdIsStationeryDocMyOpensignature resources
  168. signaturesas creators[signatures    creators]    creators]definedin bundle resources[signaturesbundle resources]bundle resources] registeringsmall icon list resourcescreatingsmall icons (16-by-16 pixel)resource IDs for
  169. resources forsound resourcesicon forinstalling and removingStartup Items folderdefinedfindingcreating icons fordefault icon fordefined(suitcases for fonts and desk accessoriessystem extensions'and Extensions folder[system extensionsExtensions folder]Extensions folder]installing and removing
  170. System Folderdefinedfindingorganization oftemporary filesTemporary Items folderdefinedfinding%thirty-two-by-32 pixel icons (large)]Trash directoriesappearance to usersdefinedfinding    for icons$version information for applications6in 'vers' resourceversion information for applicationsvers resource]vers resource]6in Finder windows[version information for applicationsFinder windows]Finder windows];in information windows[version information for applicationsinformation windows]information windows]:in signature resource[version information for applicationssignature resource]signature resource]zzfdComment fieldzzfdCreator fieldzzfdFlags fieldzzfdFldr fieldzzfdIconID fieldzzfdLocation fieldzzfdPutAway fieldzzfdReserved fieldzzfdScript fieldzzfdType fieldzzfdUnused fieldzzfHasBundle constantzzfInvisible constant zzFldr fieldzzfrComment fieldzzfrFlags fieldzzfrLocation fieldzzfrOpenChain fieldzzfrRect fieldzzfrReserved fieldzzfrScript fieldzzfrScroll fieldzzfrView field#zzgestaltFindFolderPresent constantzzhasBundle constantzzhasCustomIcon constantzzisAlias constantzzisShared constantzzisStationery constantzzisStationeryAware constantzzkAppleMenuFolderType constant"zzkControlPanelFolderType constantzzkCustomIconResource constantzzkDesktopFolderType constantzzkExtensionFolderType constantzzkFontsFolderType constant!zzkPreferencesFolderType constant&zzkPrintMonitorDocsFolderType constantzzkStartupFolderType constantzzkSystemFolderType constantzzkTemporaryFolderType constantzzkTrashFolderType constant'zzkWhereToEmptyTrashFolderType constantzznameLocked constant